<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no" name="viewport">
    {$_G['setting']['seohead']}
    <meta content="yes" name="apple-mobile-web-app-capable">
    <meta content="black" name="apple-mobile-web-app-status-bar-style">
    <meta content="telephone=no" name="format-detection">
    <meta content="email=no" name="format-detection">
    <base href="{eval echo preg_replace('/http\:/i','',$_G['siteurl']);}" />
    <meta name="keywords" content="{if !empty($metakeywords)}{echo dhtmlspecialchars($metakeywords)}{/if}" />
    <meta name="description" content="{if !empty($metadescription)}{echo dhtmlspecialchars($metadescription)} {/if},$_G['setting']['bbname']" />
    {if $_GET['act']=='book' && $_GET['book_id']}
    <meta property="og:url"           content="{$_G['siteurl']}plugin.php?id=jameson_read&act=book&book_id={$books['book_id']}" />
      <meta property="og:type"          content="website" />
      <meta property="og:title"         content="{$books['book_name']}-{$_G['setting']['bbname']}" />
      <meta property="og:description"   content="{$books['book_name']}" />
      <meta property="og:image"         content="{if $books['image']}{$_G['siteurl']}data/attachment/forum/{$books['image']}{elseif preg_match('/^http|\/\//',$_G['jameson_read']['morenfengmian'])}{$_G['jameson_read']['morenfengmian']}{else}{$_G['siteurl']}{$_G['jameson_read']['morenfengmian']}{/if}" />
    {/if}
    <link rel="stylesheet" href="{$_G['siteurl']}source/plugin/jameson_read/images/jqweui/jquery-weui.min.css?version=988" charset="utf-8">
    <link rel="stylesheet" href="{$_G['siteurl']}source/plugin/jameson_read/images/font-awesome.css?version=988" charset="utf-8">
    <script src="{$_G['siteurl']}source/plugin/jameson_read/images/jquery.min.js?version=988"></script>
    <title><!--{$navtitle}--></title>
    <style type="text/css">
        /*通用*/
    body{max-width: 960px;overflow-x: hidden;margin:auto;background-color: #f8f8f8;
    font-family: -apple-system-font,Helvetica Neue,Helvetica,sans-serif; color: #33373d; fill: currentColor;}
        {if $_GET['act'] !='read' && $dibunav}
        body{padding-bottom: 60px;}
        {/if}
        em{color: #777;font-style: normal;font-size: 0.6rem;}
        a{color: #777;}
        #backtop,#tools,#closepdf{position: fixed;z-index:5;right: 3px;}
        #pdfviews{z-index: 6;}
        #backtop{bottom:60px;}
        #tools{bottom: 100px;}
        #closepdf{bottom: 150px;z-index: 7;}
        #backtop .fa,#tools .fa, #closepdf .fa{color: rgba(0,0,0,0.4);font-size: 1.5rem;}
        .content-padded{margin:0.3rem;padding: 0.1rem}
        .shenqing .weui-cell{border:1px solid #e6ebe1;}
        .none {display: none !important;}
        .close{position: absolute;left:10px;top:15px;}
        .fire{position: absolute;right:10px;bottom:15px;}
        .back-white{background: #fff;}
        .cl{clear:both;}
        .cl:after{display: black;height:0;content:".";clear:both;}
        .z{float: left;}
        .y{float: right;}
        .text-danger{color:{$_G['jameson_read']['shoujimuban']} !important;}
        .back-danger{background:{$_G['jameson_read']['shoujimuban']} !important;}
        .text-center{text-align: center;}
        .text-left{text-align: left;}
        .text-justify{text-align: justify;}
        .text-right{text-align: right;}
        .margin-left{margin-left: 8px !important;}
        .pt0{padding-top: 0 !important;}
        .pt10{padding-top: 10px !important;}
        .pt32{padding-top: 32px !important;}
        .ml8{margin-left: 8px !important;}
        .mr8{margin-right: 8px !important;}
        .mt0{margin-top: 0 !important;}
        .mt5{margin-top: 5px !important;}
        .mt10{margin-top: 10px !important;}
        .mt15{margin-top: 15px !important;}
        .mb10{margin-bottom: 10px !important;}
        .mb15{margin-bottom: 15px !important;}
        .flex-1{flex:1 !important;}
        .flex-2{flex:2 !important;}
        .flex-3 {flex:3 !important;}
        .back-0{background: none !important;}
        .bookinfo .weui-media-box__desc{max-height: 40px;}
        .bookinfo .weui-media-box__desc.allshow{max-height: inherit;-webkit-line-clamp:99999;}

        .header .weui-flex__item.header_title{white-space: nowrap;overflow: hidden;text-overflow: ellipsis;flex:8 !important;text-align: center;}
        .zdyadv img{width: 100%;}
        .zhangjie .weui-cell__bd a{color: #666;font-size: 0.85em;}
        .weui-btn em{color: #fff;}
        .weui-popup__overlay{opacity: 0.4;}
        .weui-media-box_title, .weui-media-box__title {color: #33373d;font-size: 0.75rem;font-weight: 600;}
        .weui-cell_access .weui-cell__ft{font-size: 0.6rem;}

        .weui-navbar {width: 94%;margin-left: 3%;outline:1px solid {$_G['jameson_read']['shoujimuban']};}
        .weui-navbar .weui-navbar__item{border-left: 1px solid {$_G['jameson_read']['shoujimuban']};padding:5px 0;background: #fff;color:{$_G['jameson_read']['shoujimuban']};font-size:0.6rem;}
        .weui-navbar .weui-navbar__item:first-child{border-left:0;}
        .weui-navbar .weui-navbar__item.weui-bar__item--on{background:{$_G['jameson_read']['shoujimuban']} ;color: #fff;}
        .weui-navbar + .weui-tab__bd{padding-top: 25px;}
        .weui-navbar__item:after{border:0;}

        .muludiv .weui-navbar{width: auto;outline: 0;margin:8px 0;background: none;}
        .muludiv .weui-navbar::after{display: none;}
        .muludiv .weui-navbar .weui-navbar__item {padding:0 10px;background: none; color: #333;border:0;}
        .muludiv .weui-navbar .weui-navbar__item.weui-bar__item--on{color:{$_G['jameson_read']['shoujimuban']} ;}
        .muludiv .weui-navbar + .weui-tab__bd{padding-top: 35px;}
        a.weui-cell {font-size: 0.85em;}
        .weui-cells__title{font-size: 0.7rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-weight: 600;color: #33373d}
        .noafter.weui-panel__hd:after{display: none;}
        .noafter.weui-panel__hd + .weui-panel__bd .weui-cells{margin-top: 0;}
        .weui-media-box{padding:8px 10px;}
        #sharediv .fa-qq{color: #03A9F4;}
        #sharediv .fa-weixin{color:#2abb30;}
        #sharediv .fa-weibo{color:#f44336;}
        #sharediv .fa-qq.fa-qzone{color:transparent;background: url("./source/plugin/jameson_read/images/qzone.png") no-repeat 50% 50%;}
        /*图书列表*/
        .listmeta{display: block;margin-top: 0.3rem;}
        .weui-media-box_appmsg .weui-media-box__hd{width: 75px;height:auto;max-height: 120px;overflow: hidden;}
        /*书架*/
        .rmstore{right: 10px;bottom: 10px;background: rgba(0,0,0,.3);font-size: 1.5rem;color: #fff;}
        /*搜索*/
        .weui-search-bar{background: none;}
        .searchwrap .search_left {;width:62px;position: absolute;left:0;line-height: 2;font-size: 1rem;}
        .searchwrap .search_left .fa { color: #666;}
        .searchwrap .search_right {position: relative;margin-left:65px;}
        .weui-search-bar:after{border-bottom:0;}
        .btn-no-bor .weui-btn_mini{margin:0.1rem;}
        .weui-flex__item.header_title .weui-search-bar{background: none;padding: 0;}
        .weui-flex__item.header_title .weui-search-bar__label, .weui-flex__item.header_title .weui-search-bar__form{background: none;}
        .weui-flex__item.header_title .weui-search-bar:after, .weui-flex__item.header_title .weui-search-bar:before{display: none;}
        .weui-flex__item.header_title .weui-search-bar__form:after{height: 64px;top: 7px}
        /*顶部导航条*/
        .header{display: black;height: 45px;line-height: 45px;background:#fff;}
        .header .weui-flex__item .fa{font-size: 0.85rem;}
        .header .weui-flex__item.header_left{text-align: left;padding-left: 5px;}
        .header .weui-flex__item.header_right{text-align: right;padding-right: 5px;}
        /*幻灯*/
        .swiper-container{max-height: 180px;overflow: hidden;}
        .swiper-slide a img {width: 100%}
        /*四个宫格*/
        .weui-grid.four_one{width: 25%;text-align: center;overflow: hidden;}
        .weui-grid.five_one{width: 20%;text-align: center;overflow: hidden;}
        .weui-grid.four_one img, .weui-grid.five_one img{height: 120px;}
        .weui-grid.four_one:after, .weui-grid.four_one:before, .weui-grid.five_one:after, .weui-grid.five_one:before{border:0;}
        /*三个宫格*/
        .weui-grids.sangongge{text-align: center;}
        .weui-grids.sangongge .imgwrap{height: 150px;overflow: hidden;}
        .weui-grids.sangongge img{height: 100%;}
        /*分类*/
        .fenleicate{padding:8px;}
        .fenleicate .weui-btn{display: inline-block;width: 24%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;margin-top: 5px;}
        .fenleicate .weui-flex__item .weui-btn{max-width: 98%;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;display: inline-block;}
        /*热门图书*/
        .rementushu{background: #fff;padding:10px;margin:10px 0;}
        .rementushu .overflow-auto{overflow: auto;white-space: nowrap;}
        .rementushu .overflow-auto > a{display: inline-block;width: 25%;margin:0 5px;height: 170px;overflow: hidden;}
        .rementushu .overflow-auto > a .imgwrap{height: 120px;overflow: hidden;}
        .rementushu .overflow-auto > a img{display: block;margin: 5px auto;width: 100%;}
        .rementushu .overflow-auto > a span{display: block;text-align: center;color: #333;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;font-size: 0.65rem;}
        .h_title{   padding-left: 10px;font-weight: 600;   display: inline;   color: #33373d; font-size: 0.7rem;}
        .h_title em {color: #999; font-size: 0.6rem;font-weight: 400;}
        /*图书详情页面*/
        .bookfm .weui-media-box_appmsg .weui-media-box__hd{width: 100px;height: auto;max-height: 130px;}
        .bookfm .weui-media-box_appmsg .weui-media-box__thumb{max-height: inherit;}
        .bookfm .weui-media-box_appmsg {-webkit-align-items:flex-start;align-items:flex-start;}
        #pingfen-alert{position: fixed;z-index: 99;background: rgba(255,255,255,1);width: 70%;left: 50%;margin-left: -35%;}
        .pingfen_top{position: absolute;z-index: 1;left: 0;overflow: hidden;white-space: nowrap;}
        .pingfen_top .fa{color: #ff9800;}
        .pingfen_bottom {position: relative;}
        .pingfen_bottom > .fa{color: #999;}
        #function-demo{width: auto !important; }
        /*阅读页面*/
        #muludiv .weui-popup__modal {height: 100%;overflow-y: auto;width: 70%;transform: translate3d(-70%,0,0);}
        #muludiv.weui-popup__container--visible .weui-popup__modal{
            transform: translate3d(0,0,0);
        }
        #muludiv a{font-size: 0.85em;}
        #columcontent{line-height: 1.8;word-wrap: break-word;word-break: break-all;}
        #columcontent .weui-panel__bd{padding-left: 0.5rem;padding-right: 0.5rem; }
        #columcontent .weui-panel__bd p{margin-top: 10px;margin-bottom: 10px;}
        {if $_G["jameson_read"]["pindent"]}
            #columcontent .weui-panel__bd p {text-indent: {$_G["jameson_read"]["pindent"]}em;}
            #columcontent .weui-panel__bd {text-indent: {$_G["jameson_read"]["pindent"]}em;}
        {/if}
        
        #columcontent .weui-panel__bd img{max-width: 100%;}
        #columcontent pre {
            display: block;
            padding: 10px;
            margin: 10px auto;
            border: 1px solid #ccc;
            border-radius: 4px;
            background-color: #f5f5f5;
            text-indent: 0;
        }
        #columcontent code {
            font-size: 14px;
            line-height: 1.6;
            color: #333;
            word-break: break-all;
            word-wrap: break-word;
          display: block;
          overflow: auto;
          text-indent: 0;
        }
        /* blockquote 样式 */
        #columcontent blockquote {
          display: block;
          border-left: 8px solid #d0e5f2;
          padding: 5px 10px;
          margin: 10px 0;
          line-height: 1.4;
          font-size: 100%;
          background-color: #f1f1f1;
        }
        #columcontent video{max-width: 98%;display: block;}
        #columcontent img{max-width: 98%;display: inline-block;}
        .fixedtop,.fixedbottom{position: fixed;left: 0;right: 0;z-index: 1;}
        .fixedtop{top:0;}
        .fixedbottom{bottom:0;background: #fff;}
        #settingdiv .weui-popup__modal{background: rgba(0,0,0,.7);padding-top: 20px;padding-bottom: 20px;}
        #settingdiv .weui-grids{background: transparent;text-align: center;}
        #settingdiv .weui-grids:before{border:0;}
        #settingdiv a{display: inline-block;padding:5px;margin:8px;}
        #settingdiv .fa-font{color: #fff;font-size: 1.3em;}
        #settingdiv .fa-circle{font-size: 1.5em;}
        body[data-color="danhuang"]{background:#ddcda8;}
        .danhuang{color:#ddcda8;}
        body[data-color="danlv"]{background:#d1edd1;}
        .danlv{color:#d1edd1;}
        body[data-color="heise"]{background:#333333;}
        body[data-color="heise"] #columcontent{color: #eee;}
        .heise{color:#000;}
        body[data-color="moren"]{background:#ffffff;}
        .moren{color: #fff;font-size: 1.2em;}
        #medit {
            padding: 10px 2%;
            border:1px solid #ccc;
            height:340px;
            margin:0 auto;
            overflow: auto;
            width:90%;
            border-radius:3px;
        }
        .weui-media-box__desc{line-height: 1.5;color: #969ba3;}
        .allpingluntext.weui-media-box__desc{-webkit-line-clamp:inherit;overflow: visible;}
        .noheaderbar .header{display: none !important;}
        .weui-tabbar{background: #F7F7FA;}
        .weui-btn.bookfenxiang{padding:0;}
        .weui-btn.bookfenxiang:after{border:0;}
    </style>
</head>
<body {if $_GET['act']=='read'}data-color="moren"{/if} class="bg {$_GET['act']} {if $noheaderbar} noheaderbar {/if}" id="jameson_read_touch">